/*
 * Copyright kingbi. 
 * Creator: mouzb
 */
package com.kingbi.util.jsf;

import java.util.List;

import javax.faces.component.UIData;
import javax.faces.component.UISelectBoolean;

/**
 * @author mouzb
 * 
 */
@SuppressWarnings("unchecked")
public class ListTableBean<T> {
    int totalPage=-1;
    int currentPage=1;
    int pageItemNumber=10;
    List<T> items;
    public int getCurrentPage() {
        return currentPage;
    }
    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }
    
    public int getPageItemNumber() {
        return pageItemNumber;
    }
    public void setPageItemNumber(int pageItemNumber) {
        this.pageItemNumber = pageItemNumber;
    }
    public int getTotalPage() {
        return totalPage;
    }
    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }
    public List<T> getItems() {
        return items;
    }
    public void setItems(List<T> s) {
        this.items = s;
    }
    
    
}
